Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DXUtil Class / Write Method / Write<T>(IntPtr,T) Method
Type of a data to write.
Memory location to write to.
The data to write.

In This Topic
    Write<T>(IntPtr,T) Method
    In This Topic
    Writes the specified T data to a memory location.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub Write(Of T As {New, Struct})( _
       ByVal destination As System.IntPtr, _
       ByRef data As T _
    ) 
    public static void Write<T>( 
       System.IntPtr destination,
       ref T data
    )
    where T: new(), struct

    Parameters

    destination
    Memory location to write to.
    data
    The data to write.

    Type Parameters

    T
    Type of a data to write.

    Return Value

    destination pointer + sizeof(T).
    See Also